
GCC = gcc
GCC_FLG = -c -nostdlib -fno-builtin -fno-stack-protector -fno-exceptions -Wall -O -finline-functions -fomit-frame-pointer -pedantic ##-I../inc
GCC_OBJ = ../../libk/libk.o

all:	clear
	$(GCC) $(GCC_FLG) *.c
	ld -T../modelf.ld *.o $(GCC_OBJ) -o dummy.elf
	cp dummy.elf ../../bin/modules/
clear:
	- rm	*.o *~
